package base.jdk8_demo.lambda.functional;

import java.util.function.Predicate;

public class MyPredicate implements Predicate<Integer> {

    @Override
    public boolean test(Integer i) {
        System.out.println("------>"+i+"<-------");
//        return true;
        return i%2==0;
    }

}
